<li class="row">
    <div class="col-md-3"><%= author.surname_and_name %></div>
    <div class="col-md-3">| <%= link_to titleize(t(:author_books)), author_books_path(author) %></div>
  <% if signed_in? && current_user.admin? %>
    <div class="col-md-3">| <%= link_to titleize(t(:edit)), edit_author_path(author) %></div>
    <div class="col-md-3">| <%= link_to titleize(t(:destroy)), author, method: :delete,
                                  data: { confirm: titleize(t(:are_you_sure)) } %></div>
  <% end %>
</li>